package vue;

import java.awt.Font;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**
 * 
 * @author Plancq Charlotte, Lanvin Kévin, Darras Raphael
 *
 *
 */
public class AffichageMenu extends JPanel {
	private static final long serialVersionUID = 1L;
	private JLabel txt1;


	public AffichageMenu(AffichageGlobal affichageGlobal) {
		this.setLayout(new BoxLayout(this,BoxLayout.Y_AXIS));

		
		
		ImageIcon image=new ImageIcon("img/accueil.jpg");
		JLabel img=new JLabel(image);
		img.setAlignmentX(CENTER_ALIGNMENT);add(img);
		
		add(Box.createVerticalStrut(100));
		
		txt1 = new JLabel("BDTHEQUE");
		txt1.setFont(new Font("Segoe Print", Font.BOLD, 30));
		txt1.setAlignmentX(CENTER_ALIGNMENT);add(txt1);
		add(Box.createVerticalStrut(50));
		


	}
}
